package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

/**
 * @Author fanYuLe
 * @Date 2023/3/1 11:34
 * @Blog blog.fanYuLe.net/996.mba
 * @Description:
 */
public interface EmployeeService {
    //1.员工登录
    ResultInfo login(String username, String password);
    //2.员工列表
    List<Employee> find(String name);
    //3.新增
    void save(Employee employee);
    //4.回显
    Employee findById(Long id);
    //5.修改
    void update(Employee employee);
}
